﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace AllServer.Core.Entity;
    ///<summary>
    ///用户提现表
    ///</summary>
    [SugarTable("TMemberRefund")]
    public partial class TMemberRefund
    {
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(IsPrimaryKey=true,IsIdentity=true,ColumnName="Id")]
        public int Id {get;set;}
        /// <summary>
        /// 产品编号
        /// </summary>           
        [SugarColumn(ColumnName="ProductId")]
        public int ProductId {get;set;}
        /// <summary>
        /// 用户编码
        /// </summary>           
        [SugarColumn(ColumnName="UserCode")]
        public string UserCode {get;set;}
        /// <summary>
        /// 电话号码
        /// </summary>           
        [SugarColumn(ColumnName="UserPhone")]
        public string UserPhone {get;set;}
        /// <summary>
        /// QQ号
        /// </summary>           
        [SugarColumn(ColumnName="UserQQ")]
        public string UserQQ {get;set;}
        /// <summary>
        /// 提现金额
        /// </summary>           
        [SugarColumn(ColumnName="RefundMoney")]
        public decimal RefundMoney {get;set;}
        /// <summary>
        /// 税金
        /// </summary>           
        [SugarColumn(ColumnName="TaxMoney")]
        public decimal TaxMoney {get;set;}
        /// <summary>
        /// 真实可提现金额
        /// </summary>           
        [SugarColumn(ColumnName="RealRefundMoney")]
        public decimal RealRefundMoney {get;set;}
        /// <summary>
        /// 提现状态，0待审核，1审核中，2是审核成功，3提现失败，4转账成功
        /// </summary>           
        [SugarColumn(ColumnName="RefundStatus")]
        public int RefundStatus {get;set;}
        /// <summary>
        /// 创建时间
        /// </summary>           
        [SugarColumn(ColumnName="CreateTime")]
        public DateTime? CreateTime {get;set;}
        /// <summary>
        /// 审核内容
        /// </summary>           
        [SugarColumn(ColumnName="CommitContent")]
        public string CommitContent {get;set;}
        /// <summary>
        /// 提现支付宝账号
        /// </summary>           
        [SugarColumn(ColumnName="AliAccount")]
        public string AliAccount {get;set;}
        /// <summary>
        /// 支付宝真实姓名
        /// </summary>           
        [SugarColumn(ColumnName="AliRealName")]
        public string AliRealName {get;set;}
        /// <summary>
        /// 最后操作时间
        /// </summary>           
        [SugarColumn(ColumnName="LastUpdateTime")]
        public DateTime? LastUpdateTime {get;set;}
        /// <summary>
        /// 真实姓名
        /// </summary>           
        [SugarColumn(ColumnName="RealName")]
        public string RealName {get;set;}
        /// <summary>
        /// 后端处理人员用户id
        /// </summary>           
        [SugarColumn(ColumnName="DealerId")]
        public int DealerId {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="IsUpdateTime")]
        public int? IsUpdateTime {get;set;}
        /// <summary>
        /// 提现的截图
        /// </summary>           
        [SugarColumn(ColumnName="CommitImage")]
        public string CommitImage {get;set;}
        /// <summary>
        /// 提现数据来源。1 表示任务，0表示默认的。
        /// </summary>           
        [SugarColumn(ColumnName="FromSource")]
        public int FromSource {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="OrderNo")]
        public string OrderNo {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="IsSuccess")]
        public int IsSuccess {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="V2Id")]
        public int? V2Id {get;set;}
        /// <summary>
        /// 迁移主键
        /// </summary>           
        [SugarColumn(ColumnName="RawId")]
        public int? RawId {get;set;}
        /// <summary>
        /// 最后更新时间，用于同于更新判断
        /// </summary>           
        [SugarColumn(ColumnName="SyncUpdateTime")]
        public DateTime? SyncUpdateTime {get;set;}
    }
